<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/23
 * Time: 11:34
 */

namespace AppBundle\Task;


interface TaskInterface
{
    /**
     * 处理API请求
     * @param array $options
     * @return mixed
     */
    public function run($options = array());

    /**
     * 执行返回处理结果
     * @param array $options
     * @return mixed
     */
    public function process($options = array());
}